﻿using CefSharp;
using System;
using System.Windows.Forms;

namespace SecondApp
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            FrmSecond frmSecond = new FrmSecond();
            frmSecond.Show();
        }

        private void FrmMain_FormClosing(object sender, FormClosingEventArgs e)
        {
            Cef.Shutdown();
            Environment.Exit(0);
        }
    }
}
